package com.jushu.storbox.database;

import java.util.List;

import com.jushu.storbox.entities.TeamSpaceMemberInfo;
import com.huawei.sharedrive.sdk.android.modelV2.response.TeamSpaceMemberShipsEntity;

public interface ITeamSpaceMemberDao extends IBaseDao{
	/**
	 * 插入团队空间成员对象，使用服务器端对象
	 */

	public void insertTeamSpaceMember(TeamSpaceMemberShipsEntity teamSpaceMemberInfo);
	
	/**
	 * 插入团队空间成员对象，使用本地对象
	 */

	public void insertTeamSpaceMember(TeamSpaceMemberInfo teamSpaceMemberInfo);
	
	/**
	 * 更新团队空间成员对象，使用服务器端对象
	 */

	public void updataTeamSpaceMember(TeamSpaceMemberShipsEntity teamSpaceMemberInfo);
	
	/**
	 * 获取团队空间成员对象列表
	 */

	public List<TeamSpaceMemberInfo> getTeamSpaceMemberList(String teamSpaceId);
	
	/**
	 * 删除团队空间成员对象
	 */

	public void deleteTeamSpaceMember(String teamSpaceId,String membershipsId);
	
	/**
	 * 获取单个团队空间成员对象
	 */

	public TeamSpaceMemberInfo getTeamSpaceMember(String teamSpaceId,String membershipsId);
}
